package spring.cloud.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Created by Enven on 2016/9/7.
 */
@SpringBootApplication
@EnableEurekaServer //该注解表明应用为eureka服务，有可以联合多个服务作为集群，对外提供服务注册以及发现功能
public class EurekaServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(EurekaServiceApplication.class,args);
    }
}
